import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /contact/{id}
 */
export function deleteContactById(params: DeleteContactByIdParams, config?: AxiosRequestConfig) {
    return request.delete<DeepRequired<any>>(`/contact/${params.id}`, config);
}

export interface DeleteContactByIdParams {
    id: number;
}
